package net.midnighttd.game.view;

import javax.swing.*;
import java.awt.*;

/**
 * Author: Adam Scarr
 * Date: 23/04/2009
 * Time: 9:49:41 PM
 */
public class ThemedButton extends JButton {
    public ThemedButton() {
        super();
        theme();
    }

    public ThemedButton(String label) {
        super(label);
        theme();
    }

    public void theme() {
        setMargin(new Insets(1,1,1,1));
        setBackground(new Color(140, 150, 120));
        setBorder(BorderFactory.createLineBorder(new Color(35,33,30)));
    }
}
